﻿using System;
using System.Collections.Generic;
using System.Html.DOM;
using jQueryLib;

namespace AngularJS
{
    public class DirectiveDefination
    {
        public class CompileReturn
        {
            public Action<Scope, JQueryInstance, Dictionary<string, string>, object> Pre;
            public Action<Scope, JQueryInstance, Dictionary<string, string>, object> Post;
        }

        public string Restrict;
        public int Priority;
        public string Template;
        public string TemplateUrl;
        public bool Replace;
        public string Transclude;
        public object Scope;
        public Action<Scope, JQueryInstance, Dictionary<string, string>, object> Controller;
        public string Require;
        public Action<Scope, JQueryInstance, Dictionary<string, string>> Link;
        public Func<CompileReturn, JQueryInstance, Dictionary<string, string>, object> Compile;
    }
}
